package com.lq.dubbo.rocketmq.shop.entity;

import java.io.Serializable;

/**
 * @program: dubborocketmqshop
 * @description: web响应实体类
 * @author: LQ
 * @create: 2021-06-03 17:39
 */

public class Result implements Serializable {
    private static final long serialVersionUID = -6657635214745816508L;
    private Boolean success;
    private String message;

    public Result(Boolean success, String message) {
        this.message = message;
        this.success = success;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
